﻿using System.Windows.Forms;

namespace DesktopClient.Controls
{
	class DoubleBufferedPanel : Panel
	{
		public DoubleBufferedPanel()
		{
			SetStyle(ControlStyles.DoubleBuffer |
					 ControlStyles.UserPaint |
					 ControlStyles.AllPaintingInWmPaint,
					 true);
			UpdateStyles();
		}
	}
}